package net.wanho.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.wanho.po.RoleAuth;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 32033
 * @description 针对表【role_auth(角色权限表)】的数据库操作Mapper
 * @createDate 2025-01-11 17:01:23
 * @Entity net.wanho.po.RoleAuth
 */
@Mapper
public interface RoleAuthMapper extends BaseMapper<RoleAuth> {

    List<Integer> getByUserId(Integer id);

    void deleteByRoleId(Integer roleId);

}




